<!doctype html>
<html lang="zh-CN">
<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <meta name="referrer" content="no-referrer-when-downgrade">
    

    <title>mac工具 | Sang的博客</title>
    <meta property="og:title" content="mac工具 - Sang的博客">
    <meta property="og:type" content="article">
        
    <meta property="article:published_time" content='2021-11-23T11:32:18&#43;08:00'>
        
        
    <meta property="article:modified_time" content='2021-11-23T11:32:18&#43;08:00'>
        
    <meta name="Keywords" content="golang,go语言,shell,k8s,博客,python,软件架构,公众号">
    <meta name="description" content="很实用的mac工具，没有之一">
        
    <meta name="author" content="仨哥">
    <meta property="og:url" content="https://stto_32.gitee.io/site/post/mac%E5%B7%A5%E5%85%B7/">
    <link rel="shortcut icon" href='/site/favicon.ico'  type="image/x-icon">

    <link rel="stylesheet" href='/site/css/normalize.css'>
    <link rel="stylesheet" href='/site/css/style.css'>
    <script type="text/javascript" src="//cdn.bootcdn.net/ajax/libs/jquery/3.4.1/jquery.min.js"></script>

    
    
    
        <link href="https://cdn.bootcdn.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.css" rel="stylesheet">
    
    
    
    
        <link rel="stylesheet" href='/site/css/douban.css'>
    
        <link rel="stylesheet" href='/site/css/other.css'>
    
</head>


<body>
    <header id="header" class="clearfix">
    <div class="container">
        <div class="col-group">
            <div class="site-name ">
                
                    <a id="logo" href="https://stto_32.gitee.io/site">
                        Sang的博客
                    </a>
                
                <p class="description">专注于Python、Go语言(golang)、云原生</p>
            </div>
            <div>
                <nav id="nav-menu" class="clearfix">
                    <a class="current" href="https://stto_32.gitee.io/site">首页</a>
                    
                    <a  href="https://stto_32.gitee.io/site/tools/" title="小工具">小工具</a>
                    
                    <a  href="https://stto_32.gitee.io/site/archives/" title="归档">归档</a>
                    
                    <a  href="https://stto_32.gitee.io/site/about/" title="关于">关于</a>
                    
                </nav>
            </div>
        </div>
    </div>
</header>

    <div id="body">
        <div class="container">
            <div class="col-group">

                <div class="col-8" id="main">
                    
<div class="res-cons">
    
    <article class="post">
        <header>
            <h1 class="post-title">mac工具</h1>
        </header>
        <date class="post-meta meta-date">
            2021年11月23日
        </date>
        
        
        <div class="post-meta">
            <span id="busuanzi_container_page_pv">|<span id="busuanzi_value_page_pv"></span><span>
                    阅读</span></span>
        </div>
        
        
        <div class="post-content">
            <p>很实用的mac工具，没有之一</p>
<h3 id="终端工具-iterm2-">终端工具-iTerm2 ★★★★★</h3>
<p>Mac OS自带的终端，用起来虽然有些不太方便，界面也不够友好，iTerm2是一款相对比较好用的终端工
具。iTerm2常用操作包括主题选择、声明高亮、自动填充建议、隐藏用户名和主机名、分屏效果等。
先来看效果图:
官网地址：https://www.iterm2.com/downloads.html</p>
<h3 id="homebrew-">Homebrew ★★★★★</h3>
<p>Homebrew
官网有一句话：Homebrew complements macOS. （ Homebrew 使 macOS 更完整。）Homebrew 是 macOS
的套件管理工具，是高效下载软件的一种方法，相当于 Linux 下的 yum、apt-get 神器，用于下载存在依赖关系
的软件包。通俗地说，Homebrew 是类似于 Mac App Store 的一个软件商店
我们平时安装本地安装mysql、nginx、redis、node、python等等都可以一句命令搞定下载，安装，环境便令配
置
eg：安装redis ,只需要执行 brew install redis，然后brew services start redis 就启动了一个redis，
其他的软件也类似，个别小有区别</p>
<p>官网地址：https://brew.sh/index_zh-cn
目前国内由于网络原因，可以查看：https://zhuanlan.zhihu.com/p/
brew详细使用文档：https://zhuanlan.zhihu.com/p/</p>
<h3 id="oh-my-zsh-">Oh My Zsh ★★★★★</h3>
<p>Zsh是一款强大的虚拟终端，既是一个系统的虚拟终端，也可以作为一个脚本语言的交互解析器。Oh My Zsh是一
款社区驱动的命令行工具，正如它的主⻚上说的，Oh My Zsh 是一种生活方式。它基于zsh命令行，提供了主题配
置，插件机制，已经内置的便捷操作。给我们一种全新的方式使用命令行。被成为终极shell。
官网地址：https://ohmyz.sh/
详细使用：https://www.zhihu.com/question/21418449/answer/

        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/180f8a28f9cd427fadb9820eb5b3b93d~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133147314" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/180f8a28f9cd427fadb9820eb5b3b93d~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h3 id="autojump-">autojump ★★★★</h3>
<p>在终端的文件夹跳转非常麻烦，需要敲⻓⻓的路径。alias 别名也不是很方便。 autojump 是通过记录进入过的目
录到数据库来实现的， 所以必须是曾经进入过的目录才能跳转。</p>
<p>安装方法：brew install autojump</p>
<p>
        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e4b66ccdc169410885472363416668b1~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133225062" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e4b66ccdc169410885472363416668b1~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h3 id="zsh-autosuggestions-自动补全插件-">zsh-autosuggestions 自动补全插件 ★★★★★</h3>
<blockquote>
<p>如图所示，输入命令时可提示自动补全（灰色部分），然后按键盘 → 即可补全</p>
</blockquote>
<p>
        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/fd7f8d5a0a0a441a9428b61ad0961773~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133315616" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/fd7f8d5a0a0a441a9428b61ad0961773~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<p>下载该插件到.oh-my-zsh的插件目录</p>
<p>编辑.zshrc文件
找到plugins=(git)这一行，如果没有添加。更改为如下</p>
<h3 id="zsh-syntax-highlighting-">zsh-syntax-highlighting ★★★</h3>
<blockquote>
<p>日常用的命令会高亮显示，命令错误显示红色，如下图，插件监测会造成卡顿，慎重安装

        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/33002d9a168342a697d4e09c91b4a94a~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133500292" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/33002d9a168342a697d4e09c91b4a94a~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
</blockquote>
<h3 id="jq-">jq ★★★</h3>
<p>我们在命令行执行curl的时候，如果接口返回的是json格式，我们想看下是否正确还需要考出，再放到json格式化
工具里面，如果用了jq，可以在终端查看json
安装：brew install jq ，使用 curl <a href="https://api.apiopen.top/getSingleJoke">https://api.apiopen.top/getSingleJoke</a>?sid=28654780 | jq
只需要在后面加 | jq 即可
下图是两次curl的对比

        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e5e3924babff4051b5d8b770dd0cbd0d~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133535094" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e5e3924babff4051b5d8b770dd0cbd0d~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h3 id="chrome-插件">Chrome 插件</h3>
<p>这里默认使用的是Chrome作为默认浏览器，如果目前使用的其他浏览器，建议更改Chrome
Chrome 插件官网下载，需要梯子，如果临时使用可以使用蓝灯，因为是免费的梯子所以稳定性不好，每月限流
500M
下载地址：https://github.com/getlantern/lantern
商店地址：https://chrome.google.com/webstore/category/extensions?hl=zh-CN</p>
<h4 id="adblock-plus-">Adblock Plus ★★★★★</h4>
<blockquote>
<p>超级免费的广告拦截器，甚至可以拦截一些小视频网站的视频广告</p>
</blockquote>
<h4 id="infinity-新标签-pro-">Infinity 新标签⻚ (Pro) ★★★</h4>
<blockquote>
<p>好看的新标签⻚，可以自定义背景图，标签⻚链接

        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/b8a3b728016941a6b7da814e745880c5~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133643424" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/b8a3b728016941a6b7da814e745880c5~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
</blockquote>
<p>官网：http://cn.infinitynewtab.com/
效果图：</p>
<h4 id="油猴">油猴</h4>
<p><strong>Tampermonkey</strong> 是一款免费的浏览器扩展和最为流行的用户脚本管理器，可以理解为插件中的插件</p>
<p>安装地址：http://www.tampermonkey.net/
下面演示一下，当遇到视频才可以查看的软件时，会激活破解进行解析，就可以免vip自由观看了

        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/160e1ad4764f4c5fb037974316ce8e81~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133820804" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/160e1ad4764f4c5fb037974316ce8e81~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<p>
        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e2082b8358bf443aa3705b4f54840542~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116134008596" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/e2082b8358bf443aa3705b4f54840542~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<p>
        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0bcd0fba181042cebf630abef21ff5bb~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116134039382" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/0bcd0fba181042cebf630abef21ff5bb~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h4 id="setupvpn-">SetupVPN ★★★</h4>
<blockquote>
<p>一个网⻚版的免费vpn，免费的都是一个共性，稳定性比较差，但是平时下载个插件也是可以临时用下的</p>
</blockquote>
<p>
        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ea19bd761f124ca6831d0ded040e002f~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211116133722043" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ea19bd761f124ca6831d0ded040e002f~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h4 id="v2ray">v2ray</h4>
<p><a href="http://v2ray.tawk.help/article/windows">官网</a></p>
<p>
        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ae731e8ea9cd4d24ae46be5a7beb9181~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211122111956617" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ae731e8ea9cd4d24ae46be5a7beb9181~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h4 id="faststunnel">faststunnel</h4>
<p><a href="https://faststunnel.in/">官网</a></p>
<p>孙然免费节点只有2个，但是对于特别想翻的同学也够用了，

        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/a9f5d14117ad42aa9bedc5b83e7c5d29~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211122112222832" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/a9f5d14117ad42aa9bedc5b83e7c5d29~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h4 id="佛跳墙">佛跳墙</h4>
<p><a href="https://qingfenghangzhou.com/cn/">官网</a></p>
<p>
        <a data-fancybox="gallery" href="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ec9dd8d9043b4ce59fd1aaf95bc19a25~tplv-k3u1fbpfcp-zoom-1.image">
            <img class="mx-auto" alt="image-20211122112529319" src="https://p3-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/ec9dd8d9043b4ce59fd1aaf95bc19a25~tplv-k3u1fbpfcp-zoom-1.image" />
        </a>
    </p>
<h3 id="终端快速登录跳板机-">终端快速登录跳板机 ★★★</h3>
<p>下面先演示下效果，一个命令就可以登录跳板机，有用终端工具连接堡垒机的可以使用这个脚本</p>
<p>python 文件代码</p>
<div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4">
<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;">
<pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">14
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">15
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">16
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">17
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">18
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">19
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">20
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">21
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">22
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">23
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">24
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">25
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">26
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">27
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">28
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">29
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">30
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">31
</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">32
</span></code></pre></td>
<td style="vertical-align:top;padding:0;margin:0;border:0;;width:100%">
<pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-python" data-lang="python"><span style="color:#75715e">#!/usr/bin/env python</span>
<span style="color:#75715e"># -*- coding: utf-8 -*-</span>
<span style="color:#75715e"># filename: blj.py</span>
<span style="color:#f92672">import</span> pexpect
<span style="color:#f92672">import</span> pyotp
ip <span style="color:#f92672">=</span> <span style="color:#e6db74">&#39;jump.xesv5.com&#39;</span> <span style="color:#75715e"># 堡垒机ip</span>
user <span style="color:#f92672">=</span> <span style="color:#e6db74">&#39;zhangsan&#39;</span> <span style="color:#75715e"># 你的域账号名(邮箱前缀)</span>
mypassword <span style="color:#f92672">=</span> <span style="color:#e6db74">&#39;123456&#39;</span> <span style="color:#75715e"># 你的域账号密码(邮箱密码)</span>
key <span style="color:#f92672">=</span> <span style="color:#e6db74">&#39;NYR6BSUIPDAS3SUH&#39;</span> <span style="color:#75715e"># 上面说的 16 位字符串 获取地址</span>
https:<span style="color:#f92672">//</span>wiki<span style="color:#f92672">.</span>zhiyinlou<span style="color:#f92672">.</span>com<span style="color:#f92672">/</span>pages<span style="color:#f92672">/</span>viewpage<span style="color:#f92672">.</span>action<span style="color:#960050;background-color:#1e0010">?</span>pageId<span style="color:#f92672">=</span>
port <span style="color:#f92672">=</span> <span style="color:#ae81ff">10086</span>
totp <span style="color:#f92672">=</span> pyotp<span style="color:#f92672">.</span>TOTP(key)
v_code <span style="color:#f92672">=</span> totp<span style="color:#f92672">.</span>now()
<span style="color:#75715e"># print(v_code)</span>
cmd <span style="color:#f92672">=</span> <span style="color:#e6db74">&#39;ssh -p </span><span style="color:#e6db74">%d</span><span style="color:#e6db74"> </span><span style="color:#e6db74">%s</span><span style="color:#e6db74">@</span><span style="color:#e6db74">%s</span><span style="color:#e6db74">&#39;</span> <span style="color:#f92672">%</span> (port,user,ip)
print(cmd)
child <span style="color:#f92672">=</span> pexpect<span style="color:#f92672">.</span>spawn(cmd)
child<span style="color:#f92672">.</span>setwinsize( <span style="color:#ae81ff">40</span> , <span style="color:#ae81ff">160</span> ) <span style="color:#75715e"># 可以根据自己屏幕大小调整设置</span>
child<span style="color:#f92672">.</span>expect (<span style="color:#e6db74">&#39;password:&#39;</span>)
child<span style="color:#f92672">.</span>sendline (mypassword)
child<span style="color:#f92672">.</span>expect (<span style="color:#e6db74">&#39;auth]:&#39;</span>)
child<span style="color:#f92672">.</span>sendline (v_code)

<span style="color:#75715e">#############安装################################3</span>
<span style="color:#ae81ff">1.</span>本地安装python3环境<span style="color:#960050;background-color:#1e0010">，</span>安装命令
brew install python
pip3 install pexpect  pyotp
<span style="color:#ae81ff">2.</span>获取key<span style="color:#960050;background-color:#1e0010">，</span>这里需要重置MFA<span style="color:#960050;background-color:#1e0010">，</span>重置地址<span style="color:#960050;background-color:#1e0010">：</span>http:<span style="color:#f92672">//</span>bigtree<span style="color:#f92672">.</span>xesv5<span style="color:#f92672">.</span>com<span style="color:#f92672">/</span>
<span style="color:#ae81ff">3.</span>将自己信息替换掉上面python文件的待替换信息
<span style="color:#ae81ff">4.</span>假设文件名为bypass<span style="color:#f92672">.</span>py<span style="color:#960050;background-color:#1e0010">，</span>这个时候只需要执行 python3 bypass<span style="color:#f92672">.</span>py即可登录
<span style="color:#ae81ff">5.</span>设置别名 alias ack<span style="color:#f92672">=</span><span style="color:#e6db74">&#34;python3 /Users/yqx/Documents/bypass.py&#34;</span>
<span style="color:#ae81ff">6.</span>在终端输入ack即可登录跳板机
</code></pre></td></tr></table>
</div>
</div><p><code>我只是找少量的一些，完全是抛砖引玉，希望大家多多补充</code></p>
        </div>

        
<div class="post-archive">
    <ul class="post-copyright">
        <li><strong>原文作者：</strong><a rel="author" href="https://stto_32.gitee.io/site">仨哥</a></li>
        <li style="word-break:break-all"><strong>原文链接：</strong><a href="https://stto_32.gitee.io/site/post/mac%E5%B7%A5%E5%85%B7/">https://stto_32.gitee.io/site/post/mac%E5%B7%A5%E5%85%B7/</a></li>
        <li><strong>版权声明：</strong>本作品采用<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/">知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议</a>进行许可，非商业转载请注明出处（作者，原文链接），商业转载请联系作者获得授权。</li>
    </ul>
</div>
<br/>



        

<div class="post-archive">
    <h2>See Also</h2>
    <ul class="listing">
        
        <li><a href="/site/post/casbin/">casbin权限管理</a></li>
        
        <li><a href="/site/post/cloudstack&#43;kvm/">cloudstack-4.1.5版本最全入门笔记【2022】</a></li>
        
        <li><a href="/site/post/glusterfs%E5%AE%89%E8%A3%85/">glusterfs安装</a></li>
        
        <li><a href="/site/post/go%E4%B9%8Bnginx%E6%97%A5%E5%BF%97%E5%88%86%E6%9E%90/">go之nginx日志分析</a></li>
        
        <li><a href="/site/post/%E4%BA%BA%E4%BA%BA%E8%83%BD%E7%9C%8B%E6%87%82%E7%9A%84Async-Go/">go异步</a></li>
        
    </ul>
</div>


        <div class="post-meta meta-tags">
            
            没有标签
            
        </div>
    </article>
    
    <div id="disqus_thread"></div>
<script type="application/javascript">
    var disqus_config = function () {
    
    
    
    };
    (function() {
        if (["localhost", "127.0.0.1"].indexOf(window.location.hostname) != -1) {
            document.getElementById('disqus_thread').innerHTML = 'Disqus comments not available by default when the website is previewed locally.';
            return;
        }
        var d = document, s = d.createElement('script'); s.async = true;
        s.src = '//' + "xull" + '.disqus.com/embed.js';
        s.setAttribute('data-timestamp', +new Date());
        (d.head || d.body).appendChild(s);
    })();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="https://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>

    
    
    <div class="post bg-white">
      <script src="https://utteranc.es/client.js"
            repo= "51op/hugoblogtalks"
            issue-term="pathname"
            theme="github-light"
            crossorigin="anonymous"
            async>
      </script>
    </div>
    
</div>

                    <footer id="footer">
    <div>
        &copy; 2022 <a href="https://stto_32.gitee.io/site">Sang的博客 By 仨哥</a>
        
    </div>
    <br />
    <div>
        <div class="github-badge">
            <a href="https://gohugo.io/" target="_black" rel="nofollow"><span class="badge-subject">Powered by</span><span class="badge-value bg-blue">Hugo</span></a>
        </div>
        <div class="github-badge">
            <a href="https://github.com/flysnow-org/maupassant-hugo" target="_black"><span class="badge-subject">Theme</span><span class="badge-value bg-yellowgreen">Maupassant</span></a>
        </div>
    </div>
</footer>


    
    <script type="text/javascript">
        window.MathJax = {
            tex2jax: {
                inlineMath: [['$', '$']],
                processEscapes: true
                }
            };
    </script>
    <script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script><script src="https://cdn.bootcdn.net/ajax/libs/fancybox/3.5.7/jquery.fancybox.min.js"></script>

<a id="rocket" href="#top"></a>
<script type="text/javascript" src='/site/js/totop.js?v=0.0.0' async=""></script>



    <script type="text/javascript" src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js" async></script>




    <script src='/site/js/douban.js'></script>

                </div>

                <div id="secondary">
    <section class="widget">
        <form id="search" action='https://stto_32.gitee.io/site/search/' method="get" accept-charset="utf-8" target="_blank" _lpchecked="1">
      
      <input type="text" name="q" maxlength="20" placeholder="Search">
      <input type="hidden" name="sitesearch" value="https://stto_32.gitee.io/site">
      <button type="submit" class="submit icon-search"></button>
</form>
    </section>
    
    <section class="widget">
        <h3 class="widget-title">最近文章</h3>
<ul class="widget-list">
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/calico/" title="Calico网络之BGP详解">Calico网络之BGP详解</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/casbin/" title="casbin权限管理">casbin权限管理</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/cloudstack&#43;kvm/" title="cloudstack-4.1.5版本最全入门笔记【2022】">cloudstack-4.1.5版本最全入门笔记【2022】</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/glusterfs%E5%AE%89%E8%A3%85/" title="glusterfs安装">glusterfs安装</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/go%E4%B9%8Bnginx%E6%97%A5%E5%BF%97%E5%88%86%E6%9E%90/" title="go之nginx日志分析">go之nginx日志分析</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/%E4%BA%BA%E4%BA%BA%E8%83%BD%E7%9C%8B%E6%87%82%E7%9A%84Async-Go/" title="go异步">go异步</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/k8s%E7%8E%AF%E5%A2%83%E4%B8%8Bphp/" title="k8s环境php环境制品">k8s环境php环境制品</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/kubernetes-client%E4%B9%8Bpython%E8%AF%A6%E7%BB%86%E6%8E%A5%E5%8F%A3%E8%B0%83%E7%94%A8/" title="kubernetes-client之python详细接口调用">kubernetes-client之python详细接口调用</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/mac%E5%B7%A5%E5%85%B7/" title="mac工具">mac工具</a>
    </li>
    
    <li>
        <a href="https://stto_32.gitee.io/site/post/%E5%9F%BA%E4%BA%8E1.22.1%E7%89%88%E6%9C%AC%E7%9A%84k8s%E9%83%A8%E7%BD%B2/" title="【2022】最详细的k8s基于1.22.1版本部署">【2022】最详细的k8s基于1.22.1版本部署</a>
    </li>
    
</ul>
    </section>

    

    <section class="widget">
        <h3 class="widget-title"><a href='/site/categories/'>分类</a></h3>
<ul class="widget-list">
    
</ul>
    </section>

    <section class="widget">
        <h3 class="widget-title"><a href='/site/tags/'>标签</a></h3>
<div class="tagcloud">
    
    <a href="https://stto_32.gitee.io/site/tags/cloudstack/">cloudstack</a>
    
    <a href="https://stto_32.gitee.io/site/tags/k8s/">k8s</a>
    
    <a href="https://stto_32.gitee.io/site/tags/kvm/">kvm</a>
    
    <a href="https://stto_32.gitee.io/site/tags/php/">php</a>
    
    <a href="https://stto_32.gitee.io/site/tags/shell/">shell</a>
    
    <a href="https://stto_32.gitee.io/site/tags/%E4%BA%91%E5%8E%9F%E7%94%9F/">云原生</a>
    
</div>
    </section>

    
<section class="widget">
    <h3 class="widget-title">友情链接</h3>
    <ul class="widget-list">
        
        <li>
            <a target="_blank" href="https://www.cnblogs.com/xull0651/" title="Sang的博客">Sang的博客</a>
        </li>
        
        <li>
            <a target="_blank" href="https://juejin.cn/user/2796746682943495" title="掘金">掘金</a>
        </li>
        
    </ul>
</section>


    <section class="widget">
        <h3 class="widget-title">其它</h3>
        <ul class="widget-list">
            <li><a href="https://stto_32.gitee.io/site/index.xml">文章 RSS</a></li>
        </ul>
    </section>
</div>
            </div>
        </div>
    </div>
</body>

</html>